import request from '@/utils/request'


export function getControlListApi(params) {
    return request.get('/api/wpApi/getControlList', {params})
}

export function saveControlApi(data) {
    return request.post('/api/wpApi/saveControl', data)
}
export function deleteControlApi(data) {
    return request.post('/api/wpApi/deleteControl', data)
}

export function getLocalConfigApi(params) {
    return request.get('./config.json', {params})
}
